home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10704 < prev    next >
Encoding:
Text File  |  1996-08-05  |  943 b   |  36 lines

  1. Path: news.lpr.carel.fi!usenet
  2. From: Ari Lukumies <aril@cmt.lpr.mail.carel.fi>
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: simple problem
  5. Date: Fri, 08 Mar 1996 14:08:18 +0200
  6. Organization: Carelcomp Forest
  7. Message-ID: <31402332.3657@cmt.lpr.mail.carel.fi>
  8. References: <4hkosd$p3p@mn5.swip.net>
  9. NNTP-Posting-Host: renoir.cclahti.carel.fi
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-Mailer: Mozilla 2.0 (WinNT; I)
  14.  
  15. Daniel MarjamΣki wrote:
  16. > Hallo!
  17. > I want more parameters than two in one of my functions, how do I do?
  18. > I get an errormassage when I run the following function :
  19. > int knapp(int x1,y1,x2,y2)
  20. > {
  21. >   rectangle(x1,y1,x2,y2);
  22. > }
  23.  
  24. Just obtain an outdated old compiler. :) Actually, check out some book telling 
  25. you how to declare function parameters, such as K&R. Maybe you already got one 
  26. with your compiler?
  27.  
  28. Later,
  29.  AriL
  30. -- 
  31. All my opinions are mine and mine alone.
  32.